gdkdisplay-wayland: Add API to set startup notification ID
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 10 Oct 2016 10:33:54 +0000 (12:33 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 9 Nov 2016 19:18:14 +0000 (14:18 -0500)
commitd163aba03051bbcd0cc76d63703c1a8d9d860e78
tree8f13f6eef8d06d2e2a560711c0306fd7c020388e
parent1259a489f2a6b07d6d406eea8c1c8e86634ecb73
gdkdisplay-wayland: Add API to set startup notification ID

For wayland clients, the startup notification ID is currently only set
from the DESKTOP_STARTUP_ID environment variable. As that variable is
only set for clients launched via exec(), startup completion is not
indicated correctly for DBus-activated applications unless an explicit
ID is specified - usually that is not the case, as the default handling
uses gdk_notify_startup_complete().
To address this, we need API to set the startup notification ID from GTK
as we have on X11.

https://bugzilla.gnome.org/show_bug.cgi?id=768531
gdk/wayland/gdkdisplay-wayland.c
gdk/wayland/gdkwaylanddisplay.h